#include "Device/EEPROM_AT24C02.h"

#define AT24C02_Addr (0xa0)

bool AT24C02_WriteByte(uint8 innerAddr,byte dat)
{
	return I2CSendByte(AT24C02_Addr,innerAddr,dat);
}

bool AT24C02_ReadByte(uint8 innerAddr,byte* dat)
{
	if(I2CRecvByte(AT24C02_Addr,innerAddr,dat))
		return true;
	return false;
}
